package com.moive.news.tqnewsapplication.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/12/14.
 */

public class MyProInfo implements Serializable{

    /**
     * code : 0
     * msg : 成功
     * data : [{"id":"4028805e604f071501604f3452750007","content":"gg","images":[],"createDate":1513157317000,"likeCount":0,"commentCount":0},{"id":"4028805e604f071501604f34b75d0008","content":"hght","images":[],"createDate":1513157343000,"likeCount":0,"commentCount":0},{"id":"4028805e604f071501604f35eced0009","content":"tgfr","images":[],"createDate":1513157422000,"likeCount":0,"commentCount":0},{"id":"4028805e604f071501604f3708ab000a","content":"gggg","images":[],"createDate":1513157495000,"likeCount":0,"commentCount":0},{"id":"4028805e6054056a01605406812d0000","content":"哦哦哦","images":[{"path":"/uploads/2017-12-14/9c1cff97fa7f4e71bb7a47d6487bc746.jpg"},{"path":"/uploads/2017-12-14/e048162d01c8487b9bacd2cdc80cf55d.jpg"}],"createDate":1513238201000,"likeCount":0,"commentCount":0},{"id":"4028805e6054056a0160540abf520003","content":"哈吧","images":[{"path":"/uploads/2017-12-14/8334b767142540f68ec04a08ca7989a1.jpg"},{"path":"/uploads/2017-12-14/a8ea5f81d83843b6bf58187609136129.jpg"}],"createDate":1513238479000,"likeCount":0,"commentCount":0},{"id":"402880e86053e4e5016053e9f8b60000","content":"bbb","images":[{"path":"/uploads/2017-12-14/531a8687472544bb8cee979ad7ed019c.png"}],"createDate":1513236331000,"likeCount":0,"commentCount":0},{"id":"402880e86053e4e5016053ed41c10002","content":"巴巴","images":[{"path":"/uploads/2017-12-14/45b98966fbf149788ddb3d58418ee2c0.jpg"}],"createDate":1513236546000,"likeCount":0,"commentCount":0},{"id":"402880e86053e4e5016053fd1f810004","content":"解决了","images":[],"createDate":1513237586000,"likeCount":0,"commentCount":3},{"id":"402880e86053e4e5016053ff22670006","content":"bbb","images":[],"createDate":1513237718000,"likeCount":0,"commentCount":0}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean  implements Serializable {

        /**
         * id : 402880e86053e4e5016053ed41c10002
         * content : 巴巴
         * images : [{"path":"/uploads/2017-12-14/45b98966fbf149788ddb3d58418ee2c0.jpg"}]
         * createDate : 1513236546000
         * likeCount : 0
         * commentCount : 0
         */

        private String id;
        private String content;
        private long createDate;
        private int likesCount;
        private int commentCount;
        private int isCurrentUserLikes;
        private String username;
        private String userHeadImg;
        private List<ImagesBean> images;

        public String getUserHeadImg() {
            return userHeadImg;
        }

        public void setUserHeadImg(String userHeadImg) {
            this.userHeadImg = userHeadImg;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public int getIsCurrentUserLikes() {
            return isCurrentUserLikes;
        }

        public void setIsCurrentUserLikes(int isCurrentUserLikes) {
            this.isCurrentUserLikes = isCurrentUserLikes;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public long getCreateDate() {
            return createDate;
        }

        public void setCreateDate(long createDate) {
            this.createDate = createDate;
        }

        public int getLikesCount() {
            return likesCount;
        }

        public void setLikeCount(int likeCount) {
            this.likesCount = likeCount;
        }

        public int getCommentCount() {
            return commentCount;
        }

        public void setCommentCount(int commentCount) {
            this.commentCount = commentCount;
        }

        public List<ImagesBean> getImages() {
            return images;
        }

        public void setImages(List<ImagesBean> images) {
            this.images = images;
        }

        public static class ImagesBean implements Serializable{

            /**
             * id : e1e7edc213874166bcf6dfa78a142888
             * thumbUrl : null
             * largeUrl : http://aixiaodao.test.upcdn.net/uploads/2018-01-16/a0874eb61f274fc2a03c6444ef21c143.jpeg
             * isGif : null
             * height : null
             * width : null
             * mainId : 982cc5b1595644ffbbe76b67b0d0304e
             */

            private String id;
            private String thumbUrl;
            private String largeUrl;
            private int isGif;
            private String height;
            private String width;
            private String mainId;



            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getThumbUrl() {
                return thumbUrl;
            }

            public void setThumbUrl(String thumbUrl) {
                this.thumbUrl = thumbUrl;
            }

            public String getLargeUrl() {
                return largeUrl;
            }

            public void setLargeUrl(String largeUrl) {
                this.largeUrl = largeUrl;
            }

            public int getIsGif() {
                return isGif;
            }

            public void setIsGif(int isGif) {
                this.isGif = isGif;
            }

            public String getHeight() {
                return height;
            }

            public void setHeight(String height) {
                this.height = height;
            }

            public String getWidth() {
                return width;
            }

            public void setWidth(String width) {
                this.width = width;
            }

            public String getMainId() {
                return mainId;
            }

            public void setMainId(String mainId) {
                this.mainId = mainId;
            }
        }
    }
}
